package cn.jhz.learn.blog.dao.article;

import cn.jhz.learn.blog.po.article.BlogArticleContent;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BlogArticleContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BlogArticleContent record);

    int insertSelective(BlogArticleContent record);

    BlogArticleContent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlogArticleContent record);

    int updateByPrimaryKeyWithBLOBs(BlogArticleContent record);

    /*自定义*/
    List<BlogArticleContent> batchSelectByPrimaryKeys(@Param("ids")List<Integer> ids);
}